package org.jeecg.modules.c.service.impl;


import org.jeecg.modules.c.entity.DSignalH;
import org.jeecg.modules.c.entity.MSignal;
import org.jeecg.modules.c.mapper.DSignalHMapper;
import org.jeecg.modules.c.service.IDSignalHService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 历史数据管理
 * @Author: jeecg-boot
 * @Date: 2024-11-05
 * @Version: V1.0
 */
@Service
public class DSignalHServiceImpl extends ServiceImpl<DSignalHMapper, DSignalH> implements IDSignalHService {


    @Autowired
    private DSignalHMapper dSignalHMapper;

    @Override
    public List<DSignalH> getListLike(String id) {
        return null;
    }

    /**
     * 获取信号对对应的数据
     *
     * @param totalSignalHList
     * @return
     */
    @Override
    public List<DSignalH> dSignalHService(List<MSignal> totalSignalHList) {
        List<DSignalH> result = dSignalHMapper.dSignalHService(totalSignalHList);
        return result;
    }

    @Override
    public List<DSignalH> getSendData() {
   //    return  dSignalHMapper.getSendData();
        return null ;

    }
}
